gtk4.git
10 years agoMSVC release builds: Ensure that /LTCG is used
Chun-wei Fan [Fri, 23 Oct 2015 02:33:41 +0000 (10:33 +0800)]
MSVC release builds: Ensure that /LTCG is used

MSVC 2015 changed its default link-time code generation setting to
/LTCG:incremental, which causes problems if /opt:noref is to be used,
meaning that some code will be optimized out by the linker.

Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+
builds.

10 years agoHighContrast: Update switch styling
Matthias Clasen [Fri, 23 Oct 2015 01:44:03 +0000 (21:44 -0400)]
HighContrast: Update switch styling

Use the new element names instead of the type name and style
classes, just like we did for Adwaita in the previous commit.

10 years agoAdwaita: Update switch styling
Matthias Clasen [Fri, 23 Oct 2015 01:42:20 +0000 (21:42 -0400)]
Adwaita: Update switch styling

Use the new element names instead of the type name and style
classes.

Note that there is one problem with moving away from type names
here: it turns out that style properties only work if the selector
uses the type name.

10 years agoswitch: Convert to element names
Matthias Clasen [Fri, 23 Oct 2015 01:40:31 +0000 (21:40 -0400)]
switch: Convert to element names

Use the element names switch and slider for the two css nodes,
and drop the .trough and .slider classes.

10 years agowidget: Always set the type on css nodes
Matthias Clasen [Fri, 23 Oct 2015 01:00:12 +0000 (21:00 -0400)]
widget: Always set the type on css nodes

See the previous commit for why this is necessary.

Also make gtk_widget_class_set_css_name work by looking at
the correct class for the name.

Note for future reference: GTK_WIDGET_GET_CLASS() does not
work in the instance init function.

10 years agocss node declaration: Allow both name and type to be set
Matthias Clasen [Fri, 23 Oct 2015 00:58:52 +0000 (20:58 -0400)]
css node declaration: Allow both name and type to be set

The widget path machinery assumes that we always have types,
and without this change, it will start spewing warnings when
we start to introduce node names.

10 years agoinspector: Show names for css nodes
Matthias Clasen [Fri, 23 Oct 2015 00:58:08 +0000 (20:58 -0400)]
inspector: Show names for css nodes

Currently, we don't have any css nodes with names, but we will soon.

10 years agoAdd since tags to new api
Matthias Clasen [Thu, 22 Oct 2015 23:27:13 +0000 (19:27 -0400)]
Add since tags to new api

gtk_widget_class_set/get_css_name were missing it.

10 years agoGtkApplicationWindow: Add missing annotations
Timm Bäder [Thu, 22 Oct 2015 17:31:36 +0000 (19:31 +0200)]
GtkApplicationWindow: Add missing annotations

10 years agogtk-demo: Add a range example to the shortcuts demo
Matthias Clasen [Thu, 22 Oct 2015 18:32:08 +0000 (14:32 -0400)]
gtk-demo: Add a range example to the shortcuts demo

This shows off the new range display capability that I just added.

10 years agoshortcuts: Support ranges in the display of shortcuts
Matthias Clasen [Thu, 22 Oct 2015 18:31:06 +0000 (14:31 -0400)]
shortcuts: Support ranges in the display of shortcuts

Repeating Alt-1 to Alt-9 as individual shortcuts looks really boring,
so allow compressing such ranges by specifying <Alt>1...9.

10 years agonotebook: On drag window hide, fix css nodes
Benjamin Otte [Thu, 22 Oct 2015 18:29:10 +0000 (20:29 +0200)]
notebook: On drag window hide, fix css nodes

10 years agoswitch: Use the right state when querying padding
Benjamin Otte [Thu, 22 Oct 2015 16:42:56 +0000 (18:42 +0200)]
switch: Use the right state when querying padding

We were using the state of the widget node, not the state of the slider
node.

This caused layout loops due to invalidations.

10 years agowin32: Fix introspection syntax
Matthias Clasen [Thu, 22 Oct 2015 15:50:49 +0000 (11:50 -0400)]
win32: Fix introspection syntax

10 years agotestgtk/Alpha Window: fix the drawn area when we are drawing decorations
Owen W. Taylor [Tue, 20 Oct 2015 20:45:52 +0000 (16:45 -0400)]
testgtk/Alpha Window: fix the drawn area when we are drawing decorations

A GtkWindow's allocation includes the titlebar, borders, and shadows; we
only want to draw our custom alpha content over the child allocation of
the GtkWindow.

https://bugzilla.gnome.org/show_bug.cgi?id=756886

10 years agoGtkWindow: draw the frame and shadow even for app-paintable windows
Owen W. Taylor [Tue, 20 Oct 2015 20:43:06 +0000 (16:43 -0400)]
GtkWindow: draw the frame and shadow even for app-paintable windows

If a window is decorated, we need to draw the frame and shadow, even if
it is app-paintable - it's just nonsense to have a frame that we handle
events on, but expect the app to paint it. (We paint the titlebar in
any case.) If a client wants to handle all painting, it should use an
undecorated window.

https://bugzilla.gnome.org/show_bug.cgi?id=756886

10 years agoGuard against selection requestor disappearing
Owen W. Taylor [Tue, 20 Oct 2015 16:39:57 +0000 (12:39 -0400)]
Guard against selection requestor disappearing

We made a number of unchecked accesses to the selection requestor,
which could cause X errors if the selection requestor vanished
(or we were sent invalid events). Add error traps around all of them.

See https://bugzilla.redhat.com/show_bug.cgi?id=1210814 for an
example of a crash that could be caused by this. (There are about
1000 instances of such a crash in http://retrace.fedoraproject.org
though no linked bug reports specifically talk about cut-and-paste
or DND.)

https://bugzilla.gnome.org/show_bug.cgi?id=756881

10 years agoiconcache: Remove unused function
Benjamin Otte [Wed, 14 Oct 2015 17:19:36 +0000 (19:19 +0200)]
iconcache: Remove unused function

10 years agowindow: Name the decoration style
Benjamin Otte [Mon, 7 Sep 2015 19:42:25 +0000 (21:42 +0200)]
window: Name the decoration style

10 years agowindow: Add gtk_widget_class_set_css_name()
Benjamin Otte [Mon, 7 Sep 2015 19:37:07 +0000 (21:37 +0200)]
window: Add gtk_widget_class_set_css_name()

This is to replace using class names as CSS names.

10 years agowindow: Refactor function
Benjamin Otte [Mon, 7 Sep 2015 19:31:57 +0000 (21:31 +0200)]
window: Refactor function

Move gtk_style_context_save() into the function that sets up the
decoration rendering.

10 years agonotebook: Remove "prelight-page" class
Benjamin Otte [Mon, 7 Sep 2015 10:30:44 +0000 (12:30 +0200)]
notebook: Remove "prelight-page" class

Instead, just use the "tab:hover" selector

10 years agonotebook: Remove "active-page" class
Benjamin Otte [Mon, 7 Sep 2015 10:26:33 +0000 (12:26 +0200)]
notebook: Remove "active-page" class

Instead, just use the "tab:active" selector

10 years agonotebook: Remove funciton by folding it into callers
Benjamin Otte [Mon, 7 Sep 2015 10:20:54 +0000 (12:20 +0200)]
notebook: Remove funciton by folding it into callers

10 years agonotebook: Refactor internal function
Benjamin Otte [Mon, 7 Sep 2015 10:11:09 +0000 (12:11 +0200)]
notebook: Refactor internal function

Don't return the state anymore as the function doesn't even look at the
state. Instead, make the callers that need the state query it manually.

10 years agonotebook: Make tab positions permanent
Benjamin Otte [Mon, 7 Sep 2015 10:08:45 +0000 (12:08 +0200)]
notebook: Make tab positions permanent

... on the tab CssNodes.

10 years agonotebook: Remove last traces of regions
Benjamin Otte [Mon, 7 Sep 2015 09:56:03 +0000 (11:56 +0200)]
notebook: Remove last traces of regions

Now that we don't use regions anymore, there's no need to update
anything when the regions change.

10 years agonotebook: Set reorderable-page style class properly
Benjamin Otte [Mon, 7 Sep 2015 09:52:55 +0000 (11:52 +0200)]
notebook: Set reorderable-page style class properly

Set it when the reorderable state changes, not just when rendering.

10 years agonotebook: Set active state properly
Benjamin Otte [Mon, 7 Sep 2015 09:39:55 +0000 (11:39 +0200)]
notebook: Set active state properly

Don't update it on save/restore, actually set it when it changes.

10 years agonotebook: Set prelight state properly
Benjamin Otte [Mon, 7 Sep 2015 00:15:25 +0000 (02:15 +0200)]
notebook: Set prelight state properly

Don't update it on save/restore, actually set it when it changes.

10 years agonotebook: Use CssNodes instead of regions
Benjamin Otte [Sun, 6 Sep 2015 23:44:53 +0000 (01:44 +0200)]
notebook: Use CssNodes instead of regions

This almost makes CSS work again with notebooks.

10 years agonotebook: Move style_context_save() into function
Benjamin Otte [Sun, 6 Sep 2015 23:26:19 +0000 (01:26 +0200)]
notebook: Move style_context_save() into function

This is for future changes.

10 years agocss: Remove macros that were used only with regions
Benjamin Otte [Tue, 8 Sep 2015 17:31:59 +0000 (19:31 +0200)]
css: Remove macros that were used only with regions

10 years agocssmatcher: Remove matching API for regions
Benjamin Otte [Tue, 8 Sep 2015 17:31:37 +0000 (19:31 +0200)]
cssmatcher: Remove matching API for regions

10 years agotreeview: Use a cssnode instead of regions
Benjamin Otte [Sun, 6 Sep 2015 05:36:57 +0000 (07:36 +0200)]
treeview: Use a cssnode instead of regions

This makes Treeview headers work again like before region support was
removed.

10 years agoAPI: cssselector: Stop supporting regions
Benjamin Otte [Sun, 6 Sep 2015 05:36:02 +0000 (07:36 +0200)]
API: cssselector: Stop supporting regions

The namespace that belonged to regions is supposed to be used for
CssNode names.

10 years agotreeviewcolumn: Create button on init
Benjamin Otte [Sat, 5 Sep 2015 23:46:24 +0000 (01:46 +0200)]
treeviewcolumn: Create button on init

This way, the button is always available and the code doesn't have to
special case this condition.

10 years agoswitch: Port to GtkCssNode
Benjamin Otte [Mon, 16 Feb 2015 22:05:05 +0000 (23:05 +0100)]
switch: Port to GtkCssNode

This is a simple port, no code modifications so far other than replacing
gtk_style_context_save() with gtk_style_context_save_to_node().

10 years agostylecontext: Add gtk_style_context_save_to_node()
Benjamin Otte [Mon, 16 Feb 2015 15:37:33 +0000 (16:37 +0100)]
stylecontext: Add gtk_style_context_save_to_node()

To be used instead of gtk_style_context_save() with persistent nodes.

10 years agostylecontext: Add gtk_style_context_add_named()
Benjamin Otte [Sat, 5 Sep 2015 04:58:17 +0000 (06:58 +0200)]
stylecontext: Add gtk_style_context_add_named()

This is an intermediate step for cssnode introduction. It gives a name
for the node created by saving the style context.

10 years agocssmatcher: Marshal name to matcher
Benjamin Otte [Sat, 5 Sep 2015 04:39:10 +0000 (06:39 +0200)]
cssmatcher: Marshal name to matcher

... and use it in the node matcher.

Also rename function from _gtk_css_matcher_get_type() to
_gtk_css_matcher_get_name().

10 years agocssnode: Add setters/getters for name
Benjamin Otte [Sat, 5 Sep 2015 04:31:32 +0000 (06:31 +0200)]
cssnode: Add setters/getters for name

10 years agocssnodedeclaration: Add possibility to set the name
Benjamin Otte [Fri, 4 Sep 2015 17:38:50 +0000 (19:38 +0200)]
cssnodedeclaration: Add possibility to set the name

This is supposed to be a replacement for setting the type. So far, both
options are possible - either will unset the other.

10 years agotreeview: Remove "row" and "col" regions
Benjamin Otte [Sat, 5 Sep 2015 19:44:13 +0000 (21:44 +0200)]
treeview: Remove "row" and "col" regions

They aren't used by the theme and we want to get rid of regions.

10 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 22 Oct 2015 00:01:05 +0000 (02:01 +0200)]
Updated POTFILES.in and POTFILES.skip

10 years agoUpdate NEWS to mention help overlays
Matthias Clasen [Wed, 21 Oct 2015 21:15:17 +0000 (17:15 -0400)]
Update NEWS to mention help overlays

10 years agoUpdate POTFILES.in
Matthias Clasen [Wed, 21 Oct 2015 19:48:20 +0000 (15:48 -0400)]
Update POTFILES.in

10 years agowidget-factory: Add an automatic help overlay
Matthias Clasen [Wed, 21 Oct 2015 04:14:38 +0000 (00:14 -0400)]
widget-factory: Add an automatic help overlay

This commit add some more keyboard shortcuts to gtk3-widget-factory,
and adds a help overlay documenting them. This examle uses the
automatic resource loading support in GtkApplication.

10 years agoAdd automatic help overlay support to GtkApplication
Matthias Clasen [Wed, 21 Oct 2015 04:11:59 +0000 (00:11 -0400)]
Add automatic help overlay support to GtkApplication

When the $(resource_prefix)/gtk/help-overlay.ui resource exists,
load a GtkShortcutsWindow from it for each GtkApplicationWindow,
and set up a win.show-help-overlay action with accels <Primary>F1
and <Primary>? to show it.

10 years agogtk-demo: Add a GtkShortcutsWindow demo
Matthias Clasen [Sun, 11 Oct 2015 20:48:08 +0000 (16:48 -0400)]
gtk-demo: Add a GtkShortcutsWindow demo

This example implements the mockups from the help overlay design,
showing off the various features of GtkShortcutsWindow.

10 years agoAdd some styling for GtkShortcutsWindow
Matthias Clasen [Sun, 11 Oct 2015 20:40:48 +0000 (16:40 -0400)]
Add some styling for GtkShortcutsWindow

Add some keycap frame around keysyms, and make the stack switcher
buttons rounds. This is very provisional.

10 years agoAdd GtkShortcutsWindow
Matthias Clasen [Sun, 11 Oct 2015 20:39:18 +0000 (16:39 -0400)]
Add GtkShortcutsWindow

This is a toplevel window that is tailored towards showing
help for shortcuts in an application. The implementation closely
follows this design: https://wiki.gnome.org/Design/OS/HelpOverlay

This implementation is inspired by earlier work in gnome-builder,
thanks to Christian Hergert.

https://bugzilla.gnome.org/show_bug.cgi?id=756428

10 years agobuilder: Support creating GFile objects
Matthias Clasen [Sun, 11 Oct 2015 22:54:27 +0000 (18:54 -0400)]
builder: Support creating GFile objects

This is useful, e.g. when creating GFileIcon objects.

10 years agoDon't use g_slist_next in the testsuite
Matthias Clasen [Tue, 20 Oct 2015 00:42:52 +0000 (20:42 -0400)]
Don't use g_slist_next in the testsuite

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktreeview.c
Matthias Clasen [Tue, 20 Oct 2015 00:42:12 +0000 (20:42 -0400)]
Don't use g_slist_next in gtktreeview.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktreemodel.c
Matthias Clasen [Tue, 20 Oct 2015 00:41:29 +0000 (20:41 -0400)]
Don't use g_slist_next in gtktreemodel.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextview.c
Matthias Clasen [Tue, 20 Oct 2015 00:40:49 +0000 (20:40 -0400)]
Don't use g_slist_next in gtktextview.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextlayout.c
Matthias Clasen [Tue, 20 Oct 2015 00:40:15 +0000 (20:40 -0400)]
Don't use g_slist_next in gtktextlayout.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextdisplay.c
Matthias Clasen [Tue, 20 Oct 2015 00:39:34 +0000 (20:39 -0400)]
Don't use g_slist_next in gtktextdisplay.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextchild.c
Matthias Clasen [Tue, 20 Oct 2015 00:38:38 +0000 (20:38 -0400)]
Don't use g_slist_next in gtktextchild.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextbufferrichtext.c
Matthias Clasen [Tue, 20 Oct 2015 00:36:27 +0000 (20:36 -0400)]
Don't use g_slist_next in gtktextbufferrichtext.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtktextbuffer.c
Matthias Clasen [Tue, 20 Oct 2015 00:36:02 +0000 (20:36 -0400)]
Don't use g_slist_next in gtktextbuffer.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtkstock.c
Matthias Clasen [Tue, 20 Oct 2015 00:34:58 +0000 (20:34 -0400)]
Don't use g_slist_next in gtkstock.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in gtkiconfactory.c
Matthias Clasen [Tue, 20 Oct 2015 00:33:50 +0000 (20:33 -0400)]
Don't use g_slist_next in gtkiconfactory.c

We generally use ->next directly.

10 years agoDon't use g_slist_next in the x11 backend
Matthias Clasen [Tue, 20 Oct 2015 00:31:57 +0000 (20:31 -0400)]
Don't use g_slist_next in the x11 backend

We generally use ->next directly.

10 years agoDon't use g_slist_next in the windows backend
Matthias Clasen [Tue, 20 Oct 2015 00:30:33 +0000 (20:30 -0400)]
Don't use g_slist_next in the windows backend

We generally use ->next directly.

10 years agoDon't use g_slist_next in gdk
Matthias Clasen [Tue, 20 Oct 2015 00:28:06 +0000 (20:28 -0400)]
Don't use g_slist_next in gdk

We generally just use ->next directly.

10 years agoDon't use g_list_next in gtk3-demo
Matthias Clasen [Tue, 20 Oct 2015 00:20:34 +0000 (20:20 -0400)]
Don't use g_list_next in gtk3-demo

We generally just use ->next directly.

10 years agoDon't use g_list_next in gtkselection.c
Matthias Clasen [Mon, 19 Oct 2015 23:18:06 +0000 (19:18 -0400)]
Don't use g_list_next in gtkselection.c

We generally access ->next directly.

10 years agoDon't use g_list_next in gtkmain.c
Matthias Clasen [Mon, 19 Oct 2015 23:15:30 +0000 (19:15 -0400)]
Don't use g_list_next in gtkmain.c

We generally access ->next directly.

10 years agoDon't use g_list_next in gtkdialog.c
Matthias Clasen [Mon, 19 Oct 2015 23:14:52 +0000 (19:14 -0400)]
Don't use g_list_next in gtkdialog.c

We generall access ->next directly.

10 years agoDon't use g_list_next in gtkcontainer.c
Matthias Clasen [Mon, 19 Oct 2015 23:13:35 +0000 (19:13 -0400)]
Don't use g_list_next in gtkcontainer.c

We generally access ->next directory.

10 years agoDon't use g_slist_next in gtktextbtree.c
Matthias Clasen [Mon, 19 Oct 2015 23:10:42 +0000 (19:10 -0400)]
Don't use g_slist_next in gtktextbtree.c

We generally access ->next directly.

10 years agobuilder: Don't use g_slist_next
Matthias Clasen [Mon, 19 Oct 2015 22:33:10 +0000 (18:33 -0400)]
builder: Don't use g_slist_next

We just use direct access to list->next all over the place.

10 years agobuilder: Cosmetic changes
Matthias Clasen [Mon, 19 Oct 2015 18:58:35 +0000 (14:58 -0400)]
builder: Cosmetic changes

Use an iter instead of g_hash_table_forall.

10 years agoCosmetic changes
Matthias Clasen [Mon, 19 Oct 2015 18:38:30 +0000 (14:38 -0400)]
Cosmetic changes

Line up struct-filling code with the order in the declaration.

10 years agoAdd some more builder parser tests
Matthias Clasen [Mon, 19 Oct 2015 10:13:33 +0000 (06:13 -0400)]
Add some more builder parser tests

These tests contain non-canonical and non-existing property names.

10 years agobuilder: Avoid some unnecessary overhead
Matthias Clasen [Mon, 19 Oct 2015 04:38:27 +0000 (00:38 -0400)]
builder: Avoid some unnecessary overhead

Only get the class once per object, not once per property.
And don't canonicalize the property name, g_object_class_find_property
does that already.

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 20 Oct 2015 08:50:10 +0000 (10:50 +0200)]
Updated Basque language

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 20 Oct 2015 08:03:39 +0000 (10:03 +0200)]
Updated Basque language

10 years agowidget: fix typo in warning message
Paolo Borelli [Mon, 19 Oct 2015 09:41:34 +0000 (11:41 +0200)]
widget: fix typo in warning message

10 years agowayland: Map windows with tooltip hint as subsurfaces
Jonas Ådahl [Tue, 13 Oct 2015 12:48:51 +0000 (20:48 +0800)]
wayland: Map windows with tooltip hint as subsurfaces

Tooltips tend to be placed on top of a parent surface with a given
relative coordinate, and without any input focus. So lets map them as
subsurfaces.

https://bugzilla.gnome.org/show_bug.cgi?id=756496

10 years agowayland: Clean up code determining how to map a window
Jonas Ådahl [Tue, 13 Oct 2015 12:39:02 +0000 (20:39 +0800)]
wayland: Clean up code determining how to map a window

Restructure the mapping procedure so that its known up front what the
expected way mapping is to be done (subsurface, popup or stand alone),
and warn if it fails to actually map in such a way (for example a popup
without a parent or device grab, a tooltip without a parent).

https://bugzilla.gnome.org/show_bug.cgi?id=756496

10 years agoMinor cleanup
Matthias Clasen [Sat, 17 Oct 2015 16:48:55 +0000 (12:48 -0400)]
Minor cleanup

Replace a unref-and-unset combination with g_clear_object.

10 years agoClean up handling of _gdk_win32_grab_cursor
Matthias Clasen [Sat, 17 Oct 2015 16:45:25 +0000 (12:45 -0400)]
Clean up handling of _gdk_win32_grab_cursor

This is a variable holding a ref to an object, so it is
a great case to use g_set_object and g_clear_object.

 # Please enter the commit message for your changes. Lines starting

10 years agoW32: Add missing reference taking in gdk_device_virtual_grab()
Руслан Ижбулатов [Sat, 17 Oct 2015 07:59:37 +0000 (07:59 +0000)]
W32: Add missing reference taking in gdk_device_virtual_grab()

https://bugzilla.gnome.org/show_bug.cgi?id=756160

10 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 17 Oct 2015 09:13:04 +0000 (11:13 +0200)]
Updated Norwegian bokmål translation.

10 years agoFixes from Einar Ulvsløkk.
Kjartan Maraas [Sat, 17 Oct 2015 09:11:01 +0000 (11:11 +0200)]
Fixes from Einar Ulvsløkk.

10 years agoGtkPaned: Fix gtk_paned_set_child_visible calls
Timm Bäder [Fri, 16 Oct 2015 12:44:16 +0000 (14:44 +0200)]
GtkPaned: Fix gtk_paned_set_child_visible calls

Use CHILD1/CHILD2 instead of 0 and 1, always use the same order and
don't check for child NULL-ness, because it will be done in
gtk_paned_set_child_visible anyways.

10 years agoGtkRevealer: Remove useless _start_animation call
Timm Bäder [Fri, 16 Oct 2015 12:11:28 +0000 (14:11 +0200)]
GtkRevealer: Remove useless _start_animation call

The call just passed priv->target_pos, but _start_animation directly
returns if the given target is priv->target_pos (see line 627).

10 years agomir: send touch events
William Hua [Thu, 15 Oct 2015 17:07:33 +0000 (18:07 +0100)]
mir: send touch events

10 years agowin32: fix warnings about signed/unsigned mismatch
Ignacio Casal Quinteiro [Fri, 16 Oct 2015 07:22:39 +0000 (09:22 +0200)]
win32: fix warnings about signed/unsigned mismatch

10 years agowin32: use the same type as the prototype
Ignacio Casal Quinteiro [Fri, 16 Oct 2015 07:07:02 +0000 (09:07 +0200)]
win32: use the same type as the prototype

10 years agoinspector: remove gtk_text_buffer_get_iter_at_line_index() workaround
Sébastien Wilmet [Thu, 15 Oct 2015 12:10:00 +0000 (14:10 +0200)]
inspector: remove gtk_text_buffer_get_iter_at_line_index() workaround

The function is now safe to use.

https://bugzilla.gnome.org/show_bug.cgi?id=735341

10 years agotextbuffer: nicer get_iter functions
Sébastien Wilmet [Thu, 15 Oct 2015 08:43:10 +0000 (10:43 +0200)]
textbuffer: nicer get_iter functions

Avoid crashes when passing an invalid location to a
gtk_text_buffer_get_iter_at_*() function.

A boolean is returned to know if @iter has been set to the exact
location.

Unit tests are added.

https://bugzilla.gnome.org/show_bug.cgi?id=735341

10 years agoUpdated Slovak translation
Dušan Kazik [Fri, 16 Oct 2015 06:31:32 +0000 (06:31 +0000)]
Updated Slovak translation

10 years agoUpdated Slovak translation
Dušan Kazik [Fri, 16 Oct 2015 06:26:53 +0000 (06:26 +0000)]
Updated Slovak translation

10 years agoSplit off a private header for GtkTextBuffer
Matthias Clasen [Fri, 16 Oct 2015 03:04:44 +0000 (23:04 -0400)]
Split off a private header for GtkTextBuffer

This avoids polluting the installed header with private symbols.

10 years agoImprove text a11y test
Matthias Clasen [Fri, 16 Oct 2015 02:35:38 +0000 (22:35 -0400)]
Improve text a11y test

Test appending text as well as replacing the entire text.
Insert non-ASCII text to verify offsets are correct.

10 years agofile chooser: Avoid search interruption
Matthias Clasen [Fri, 16 Oct 2015 00:53:43 +0000 (20:53 -0400)]
file chooser: Avoid search interruption

When the search entry is shown, the 'special' nature of
., ~ and / should not trigger the location entry, because
that interrupts the search and is likely not what the
user intended.

https://bugzilla.gnome.org/show_bug.cgi?id=756505